#ResEdit PExample
#This is the script file BuildGNRLLDEF which builds the Pascal GNRL LDEF example 

Open "{WorkSheet}"

set start `date -n`
echo Building the ResEdit Pascal GNRL LDEF example

# Set the directory to the PExamples folder
directory "{boot}"ResEdit:Examples:PExamples:

# Set the variable to indicate where ResEdit can be found.
#  This variable is used by the make file to put the 
#  example picker into ResEdit.
set buildToName "{boot}ResEdit:ResEdit"
Export buildToName

make -f MakeGNRLLDEF > temp
temp
delete temp

beep 
set end `date -n`
echo "        " built in `Evaluate ({end} - {start}) DIV 60` "minutes " `Evaluate ({end} - {start}) MOD 60` "seconds"

